USE [AnotherSuccessfulProcedure]

IF EXISTS (SELECT * FROM sysobjects WHERE id = object_id(N'[dbo].[UsersSelectByLogin]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
BEGIN
	DROP PROCEDURE dbo.UsersSelectByLogin
END


SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:		Neil Wilson
-- Create date: 11/04/08
-- Description:	Users Table Select By login
-- =============================================
CREATE PROCEDURE UsersSelectByLogin

	@Login varchar(30)

AS
BEGIN

SELECT [Login], Email, Admin, LastLogin
FROM Users
WHERE [Login] = @Login

END
GO

